package com.yic.module.device.controller.admin.inspectionPlan.vo;

import com.yic.module.device.controller.admin.device.vo.DeviceSimpleRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 巡检计划更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectionPlanUpdateReqVO extends InspectionPlanBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "主键不能为空")
    private Long id;

    @Schema(description = "巡检设备列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "巡检设备不能为空")
    private List<DeviceSimpleRespVO> deviceList;
}
